﻿using System;

namespace enyo.db8
{
    public class FindResponse : DbResponse
    {
        /// <summary>
        /// Array of db8 kind data objects. What is returned depends on the query and what is stored.
        /// </summary>
        public object[] Results;

        /// <summary>
        /// Number of results that would have been returned if a limit had not been specified.
        /// </summary>
        public int Count;

        /// <summary>
        /// Key to pass as query's "page" property when retrieving next page of results.
        /// </summary>
        public string Next;
    }
}
